package cn.com.callback

import cn.com.elite.EliteBean
import org.apache.commons.logging.Log
import org.apache.commons.logging.LogFactory

import javax.servlet.http.HttpServletRequest
import javax.servlet.http.HttpServletResponse

/**
 * @author ThinkPad*
 */

public class deletefile implements ServiceBackInvoke {

    private static final Log log = LogFactory.getLog(deletefile.class);

    public String doCallBack(EliteBean eliteBean, HttpServletRequest request, HttpServletResponse response) {

        String fullFilePath = "/data/apache-tomcat-dabc/webapps/ngsapitask_ph/WEB-INF/classes/cn/com/123.txt"
        //删除文件
        File deleteFile = new File(fullFilePath);
        deleteFile.delete() == true;

    }
}